package danny.hoi.service;

import com.github.pagehelper.PageInfo;
import danny.hoi.pojo.TbCategory;

import java.util.List;
import java.util.Map;

public interface CategoryService {

    void add(TbCategory category);

    void update(TbCategory category);


    TbCategory findOne(Integer id);

    List<TbCategory> findAll();


    TbCategory
    findCategoryById(Integer id);

    void deleteList(Integer[] ids);
}
